package com.woniuxy.rdbc.mapper;

import com.woniuxy.rdbc.dto.UserDto;
import com.woniuxy.rdbc.entity.SysUser;
import com.woniuxy.rdbc.vo.UserVo;

import java.util.List;

/**
* @author asus
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2022-11-24 19:25:54
* @Entity com.woniuxy.rdbc.entity.SysUser
*/
public interface SysUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    List<UserVo> selectByLike(UserDto userDto);

    SysUser SelectByTelAndPsw(UserDto userDto);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
    SysUser selectByTel(String tel);

}
